package com.resou.reader.data.signin.model;

import java.util.List;

/**
 * 签到规则模型
 */
public class SignInInfo {

    /**
     * signInRule : [{"ruleDesc":"1.规则1"},{"ruleDesc":"2.规则222222"}]
     * userSignTask : [{"taskId":"1201848continuity_four","taskCode":"continuity_four","taskDesc":"4天连续签到送15书券","taskStatus":"0"},{"taskId":"1201848continuity_fourcontinuity_seven","taskCode":"continuity_seven","taskDesc":"7天连续签到送20书券","taskStatus":"0"}]
     * userWeekSign : [{"weekday":1,"weekdayStr":"星期一","voucher":0,"signStatus":1},{"weekday":2,"weekdayStr":"星期二","voucher":6,"signStatus":2},{"weekday":3,"weekdayStr":"星期三","voucher":0,"signStatus":3},{"weekday":4,"weekdayStr":"星期四","voucher":0,"signStatus":4},{"weekday":5,"weekdayStr":"星期五","voucher":0,"signStatus":4},{"weekday":6,"weekdayStr":"星期六","voucher":0,"signStatus":4},{"weekday":7,"weekdayStr":"星期日","voucher":0,"signStatus":4}]
     * userSignedCount : 1
     * userDailySuppCount : 0
     */

    private int userSignedCount;
    private int userDailySuppCount;
    private List<SignInRuleBean> signInRule;
    private List<UserSignTaskBean> userSignTask;
    private List<UserWeekSignBean> userWeekSign;

    public int getUserSignedCount() {
        return userSignedCount;
    }

    public void setUserSignedCount(int userSignedCount) {
        this.userSignedCount = userSignedCount;
    }

    public int getUserDailySuppCount() {
        return userDailySuppCount;
    }

    public void setUserDailySuppCount(int userDailySuppCount) {
        this.userDailySuppCount = userDailySuppCount;
    }

    public List<SignInRuleBean> getSignInRule() {
        return signInRule;
    }

    public void setSignInRule(List<SignInRuleBean> signInRule) {
        this.signInRule = signInRule;
    }

    public List<UserSignTaskBean> getUserSignTask() {
        return userSignTask;
    }

    public void setUserSignTask(List<UserSignTaskBean> userSignTask) {
        this.userSignTask = userSignTask;
    }

    public List<UserWeekSignBean> getUserWeekSign() {
        return userWeekSign;
    }

    public void setUserWeekSign(List<UserWeekSignBean> userWeekSign) {
        this.userWeekSign = userWeekSign;
    }

    public static class SignInRuleBean {
        /**
         * ruleDesc : 1.规则1
         */

        private String ruleDesc;

        public String getRuleDesc() {
            return ruleDesc;
        }

        public void setRuleDesc(String ruleDesc) {
            this.ruleDesc = ruleDesc;
        }
    }

    public static class UserSignTaskBean {
        /**
         * taskId : 1201848continuity_four
         * taskCode : continuity_four
         * taskDesc : 4天连续签到送15书券
         * taskStatus : 0
         */

        private String taskId;
        private String taskCode;
        private String taskDesc;
        private String taskStatus;

        public String getTaskId() {
            return taskId;
        }

        public void setTaskId(String taskId) {
            this.taskId = taskId;
        }

        public String getTaskCode() {
            return taskCode;
        }

        public void setTaskCode(String taskCode) {
            this.taskCode = taskCode;
        }

        public String getTaskDesc() {
            return taskDesc;
        }

        public void setTaskDesc(String taskDesc) {
            this.taskDesc = taskDesc;
        }

        public String getTaskStatus() {
            return taskStatus;
        }

        public void setTaskStatus(String taskStatus) {
            this.taskStatus = taskStatus;
        }
    }

}
